package com.peng.service;

import com.peng.vo.Result;
import com.peng.vo.params.ArticleParam;
import com.peng.vo.params.PageParams;

public interface ArticleService {
    Result listArticle(PageParams pageParams);

    Result hotArticle(int limit);

    Result newArticles(int limit);

    Result listArchives();

    Result findArticleById(String articleId);

    Result publish(ArticleParam articleParam);
}
